﻿using DoNetDrive.Core.Command;
using System;
using System.Collections.Generic;
using System.Text;

namespace DoNetDrive.Protocol.Fingerprint.SystemParameter.MasterSlaveMode
{
    /// <summary>
    /// 主从模式返回结果
    /// </summary>
    public class ReadMasterSlaveMode_Result: INCommandResult
    {
        /// <summary>
        /// 主从模式
        /// </summary>
        public E_MasterSlaveMode Mode { get; set; }
        /// <summary>
        /// 主从模式返回结果
        /// </summary>
        /// <param name="mode"></param>
        public ReadMasterSlaveMode_Result(int mode)
        {
            Mode = (E_MasterSlaveMode)mode;
        }
        public ReadMasterSlaveMode_Result(E_MasterSlaveMode mode)
        {
            Mode = mode;
        }
        /// <summary>
        /// 释放
        /// </summary>
        public void Dispose()
        {
            
        }
    }
}
